package ensemble;

import structure.Matrice;

public class Echantillon {
	private Matrice sequence;
	private int etiquette;
	//private double etiquette;
	
	public Matrice getSequence() {
		return sequence;
	}

	public void setSequence(Matrice sequence) {
		this.sequence = sequence;
	}

	
	public int getEtiquette() {
		return etiquette;
	}
	
	/*
	public double getEtiquette() {
		return etiquette;
	}
	 */

	public void setEtiquette(int etiquette) {
		this.etiquette = etiquette;
	}
	
	public Echantillon (Matrice sequence, int etiquette) {
		this.sequence= sequence;
		this.etiquette= etiquette;
	}
	
	public Echantillon (Matrice sequence) {
		this.sequence = sequence;
		etiquette = -1;
	}

	/*
	public Echantillon(Matrice entree, double d) {
		this.sequence= entree;
		this.etiquette= d;
	}
	*/

	public String toString () {
		String s="";
		s= sequence.toString()+"\n";
		s+= etiquette+"\n";
		return s;
	}
	
}
